<?php
$db="(DESCRIPTION = (ADDRESS_LIST =(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.0.119)(PORT = 1521))
  )
  (CONNECT_DATA = (SERVICE_NAME = orcl)))";
  
$conn = oci_connect('larry', 'son900724', $db); 
//$conn=OCILogon("larry","son900724",$db);

// check for any errors
if (!$conn)
{
$e = oci_error();
print htmlentities($e['message']);
exit;
} 

// else there weren't any errors
else
{
echo 'I am an Oracle mack daddy.';
} 
?>